package com.compunit.composite.core.cx.enumn;

/**
 * <code>ERMappingTag</code> defines the enumerations
 * used in the required mapping tag.
 *
 * @author Yi Wang (Neakor)
 * @version Creation date: 11-21-2009 13:59 EST
 * @version Modified date: 11-21-2009 14:00 EST
 */
public enum ERMappingTag {
	/**
	 * The tag name.
	 */
	Name("required"),
	/**
	 * The fully qualified interface name key.
	 */
	Key_Interfacename("interface");
	
	/**
	 * The <code>String</code> tag value.
	 */
	private final String str;
	
	/**
	 * Constructor of <code>ERMappingTag</code>.
	 * @param str The <code>String</code> tag value.
	 */
	private ERMappingTag(final String str) {
		this.str = str;
	}
	
	/**
	 * Retrieve the string representation.
	 * @return The <code>String</code> value.
	 */
	public String getString() {
		return this.str;
	}
}
